#ifndef HUMTHREAD_H
#define HUMTHREAD_H

#include <QObject>
#include <QTcpSocket>
#include <QDebug>

class humthread : public QObject
{
    Q_OBJECT
public:
    explicit humthread(QObject *parent = nullptr);
    ~humthread();
    void run();


signals:
    void humDataReceived(const QString &data);

private:
    QTcpSocket *socket;

};

#endif // HUMTHREAD_H
